Skip to content

reduce unnecessary repaint#140

Merged
DLLarson merged 1 commit intoCyberBoardPBEM:masterfrom
wsu-cb:avoid-unnecessary-repaint
Mar 31, 2026
Merged

reduce unnecessary repaint#140
DLLarson merged 1 commit intoCyberBoardPBEM:masterfrom
wsu-cb:avoid-unnecessary-repaint

Conversation

@wsu-cb
Copy link
Copy Markdown
Contributor

@wsu-cb wsu-cb commented Mar 31, 2026

wxAUI invalidates windows that changed size when the idle processing shows/hides palettes, so defer painting a newly-activated tab until idle processing has finished with the palettes

wxAUI invalidates windows that changed size when the idle
processing shows/hides palettes, so defer painting a
newly-activated tab until idle processing has finished with the
palettes
@wsu-cb wsu-cb force-pushed the avoid-unnecessary-repaint branch from e5cd45a to c102962 Compare March 31, 2026 01:02
@wsu-cb wsu-cb requested a review from DLLarson March 31, 2026 02:14
@wsu-cb wsu-cb marked this pull request as ready for review March 31, 2026 02:14
Copy link
Copy Markdown
Member

@DLLarson DLLarson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The double paints are now gone and the overall effect is much better.

I do wonder what is causing the long render times before the board image is displayer. I see a blank area, long delay, then the final full render.

My system is pretty beefy for graphics GPU (RTX-4080 Super) and CPU (i9-14gen) so this shouldn't be happening. I think we must still have some bitmap conversions for somethings going on behind the scenes.

Just thought I'd make note of it.

Gonna merge...

-Dale

@DLLarson DLLarson merged commit 9413e60 into CyberBoardPBEM:master Mar 31, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants